package com.dj.ms.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * <br>
 * <p></p>
 *
 * <br>
 *
 * @author ZJG
 * @version 1.0
 * @date 2021/9/30 上午9:50
 */
@Controller
public class ServerInitController {
    /**
     * @return
     */
    @RequestMapping(value = {
            "/",
            "/init",
            "/list",
            "/list/**",
            "/welcome",
            "/welcome/**",
            "/user",
            "/user/**",
            "/console",
            "/console/**",
            "/api/**"
    }, method = RequestMethod.GET)
    public String fowardIndex() {
        return "index";
    }
}
